const mongoose = require('mongoose')
const { Schema } = mongoose
const orderSchema = new Schema({
    order_id:Number,
    user_id:Number,
    user_name:String,
    create_time:Date,
    service_time:Date,
    address: String,
    garbage: Array,
    state:Boolean,
    phone:String,
    nickname:String,
    end_time:Date,
})
module.exports = mongoose.model('order',orderSchema)